package com.itheima.常用API.system;

public class SystemAPI {
    public static void main(String[] args) {
        Long start=System.currentTimeMillis();
        int[] a={1,2,3,4,5,6,7,8};
        int[] b=new int[12];
        System.arraycopy(a,0,b,2,a.length);
        for (int i = 0; i < b.length; i++) {
            System.out.print(b[i]+" ");
        }
        for (int i = 0; i < 2000000; i++) {
           // System.out.print(i);
        }
        System.out.println("  - - - - - - - - - -  ");
        Long end=System.currentTimeMillis();
        System.out.println(end-start);
        System.exit(0);
    }
}
